<?php defined('SYSPATH') OR die('No direct access allowed.');
class Getlan_Controller extends Controller
{
	public function index()
	{
		$lan = Kohana::config('language.lan');
		$outputLan = array();
		for($i=0;$i<count($lan);$i++)
		{
			$outputLan[] = array($lan[$i],$lan[$i],null,$lan[$i]);
		}
		echo json_encode($outputLan);
	}
}
